﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apps.Models
{
    [Table("V_LMS_TEMPLATEDETAIL")]
    public partial class V_LMS_TEMPLATEDETAIL 
    {

        [StringLength(40)]
        [Display(Name = "化验模版编号")]
        public string TEMPLATE_ID { get; set; }

        [Key]
        [StringLength(40)]
        [Display(Name = "化验指标编号")]
        public string INDEX_ID { get; set; }

        [Display(Name = "值类型")]
        public decimal? VALUE_TYPE { get; set; }

        [Display(Name = "是否显示")]
        public decimal? VALUE_SHOW { get; set; }

        [Display(Name = "最小值")]
        public double? VALUE_MIN { get; set; }

        [Display(Name = "最大值")]
        public double? VALUE_MAX { get; set; }

        [Display(Name = "基值")]
        public string VALUE_BASE { get; set; }

        [Display(Name = "更新人")]
        public string UPDATE_USER { get; set; }

        [Display(Name = "更新时间")]
        public DateTime UPDATE_TIME { get; set; }

        [Display(Name = "模版类型")]
        public decimal? TEMPLATE_TYPE { get; set; }

        [Display(Name = "模版名称")]
        public string TEMPLATE_NAME { get; set; }


        [Display(Name = "模版描述")]
        public string TEMPLATE_DESC { get; set; }

        [Display(Name = "化验指标")]
        public string INDEX_NAME { get; set; }

        [Display(Name = "简码")]
        public string INDEX_DISNAME { get; set; }
        [Display(Name = "是否化验")]
        public decimal? VALUE_TEST { get; set; }
        [Display(Name = "是否复检")]
        public decimal? VALUE_CHECK { get; set; }
    }
}